package Components;

import Patterns.ISymmetrixComponent;
import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author mgrutman
 */
public class TheSystem 
{
    int numEngines;
    Slics slicsArray [];
    Drives drivesArray [];
    List<ISymmetrixComponent> symmetrixBox;
    
    static TheSystem inst = new TheSystem();
    
    private TheSystem()
    {
        symmetrixBox = new LinkedList<ISymmetrixComponent>();
    }
    
    public static TheSystem Instance()
    {
        return inst; 
    }
    
    public static void register(ISymmetrixComponent component)
    {
        inst.symmetrixBox.add(component);
    }
}
